<template>
  <div class="infinite-container">
    <div class="detail-title">{{title}}</div>
    <div class="pre" v-html="content">
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      content: "",
      title: ""
    };
  },
  mounted() {
    
    setTimeout(() => {
      
      this.title = this.$route.query.title;
      this.content = sessionStorage.newscontent;
    }, 400);
  },
  methods: {}
};
</script>
<style scoped>
.pre {
  padding: 1em;
  background: #fff;
  
}
.detail-title {
  font-size: 2em;
  padding: 16px;
  background: #fff;
}
</style>
